$(function(){
    var E = window.wangEditor;
    var editor = new E('#editor');
    // 配置菜单
    editor.customConfig.menus = [
    'foreColor',
    'image'
    ];
    // 图片
    editor.customConfig.uploadImgServer = '/upload';
    editor.create();
    $("#enc").click(function(){
        $("#enc-file").click();
    })
})


